<?php
namespace app\notify\controller;
use think\Controller;
use app\common\model\Config;
use app\common\model\User;
use app\common\model\Mall;

class Base extends Controller
{
    public $user;//用户信息
    public $userModel;
    public $mallModel;
    public function __construct()
    {
        parent::__construct();
        $this->userModel = new User;
        $this->mallModel = new Mall;
        $this->setConfig();
    }
    /* 全局配置 */
    protected function setConfig () {
        $configModel = new Config;
        config($configModel->getConfig());
    }

}
